package com.blb.utils;

import java.sql.Timestamp;
import java.util.Date;

public class DateUtils {

    public static Timestamp gettime() {
        Date date = new Date();
        long longTime = date.getTime();
        Timestamp timestamp = new Timestamp(longTime);
        return timestamp;
    }
}
